//
//  AppDelegate.m
//  YMDemo
//
//  Created by admin on 2022/2/25.
//

#import "AppDelegate.h"
#import "HomeViewController.h"
#import "LoginViewController.h"
#import "BaseNavigationController.h"
@interface AppDelegate ()

@end

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    
    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    self.window.backgroundColor = [UIColor whiteColor];
    HomeViewController *vc = [[HomeViewController alloc] init];
    BaseNavigationController *nav = [[BaseNavigationController alloc]initWithRootViewController:vc];
    self.window.rootViewController = nav;
    [self.window makeKeyAndVisible];
    
    NSAssert(kYMAppKey.length > 0, @"请先配置译码小二郎 AppKey");
    NSAssert(kYMAppSecret.length > 0, @"请先配置译码小二郎 AppSecret");
    
    return YES;
}



@end
